package org.budo.phone.api;

import org.budo.phone.api.response.AgentOffWorkResponse;
import org.budo.phone.api.response.AgentOnWorkResponse;
import org.budo.phone.api.response.AgentServiceEndResponse;
import org.budo.phone.api.response.CreateQueueResponse;
import org.budo.phone.api.response.CreateSubAccountResponse;

import lombok.extern.slf4j.Slf4j;

/**
 * 基类，不同的实现可能有部分方法未实现
 * 
 * @author limingwei
 */
@Slf4j
public class AbstractPhoneApi implements BudoPhoneApi {
    @Override
    public CreateSubAccountResponse createSubAccount(String appId, String name) {
        log.error("#22 createSubAccount, this=" + this);
        return null;
    }

    @Override
    public CreateQueueResponse createQueue(String appId, String queueType, String typeDes) {
        log.error("#28 createQueue, this=" + this);
        return null;
    }

    @Override
    public AgentOnWorkResponse agentOnWork(String appId, String number, String agentId) {
        log.error("#35 agentOnWork, this=" + this);
        return null;
    }

    @Override
    public AgentOffWorkResponse agentOffWork(String appId, String number, String agentId, String agentType) {
        log.error("#42 agentOffWork, this=" + this);
        return null;
    }

    @Override
    public AgentServiceEndResponse agentServiceEnd(String appId, String callId, String agentId) {
        log.error("#44 agentServiceEnd, this=" + this);
        return null;
    }
}